package com.atgouwu.mall.product.service;

import com.atgouwu.mall.product.vo.CatelogTwoVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atgouwu.mall.common.utils.PageUtils;
import com.atgouwu.mall.product.entity.CategoryEntity;
import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author heran
 * @email sunlightcs@gmail.com
 * @date 2024-02-22 15:17:48
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> getLevelOneCategory();

    Map<String, List<CatelogTwoVo>> getCatalogJson();

    List<CategoryEntity> listWithTree();

    Long[] findCatelogPath(Long catelogId);

    List<Long> getCategoryIdByName(String catalogNames);

}

